<?php
/* @var $this UserController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Users',
);

$this->menu=array(
	array('label'=>'Create User', 'url'=>array('create')),
	array('label'=>'Manage User', 'url'=>array('admin')),
);
?>

<h1>Users</h1>
<?php echo CHtml::link(CHtml::encode("Create"), array('create')); ?>
<div>
	<table class="table table-bordered">
		<thead>
			<tr>
				<td><span>ID</span></td>
				<td><span>User name</span></td>
				<td><span>Email</span></td>
				<td><span>Profile</span></td>
			</tr>
		</thead>
		<tbody>
			<?php $this->widget('zii.widgets.CListView', array(
				'dataProvider'=>$dataProvider,
				'itemView'=>'_view',
			)); ?>
		</tbody>
	</table>
</div>

